import { createApp } from 'vue'
import App from './App.vue'
import '@mocks/index'
import '@utils/global'
import store from '@store/index'
import router from '@router/index'

import $axios from '@/utils/index'

const app = createApp(App)
// 通过 globalProperties，挂载全局属性、函数
app.config.globalProperties.$axios = $axios

app.use(store).use(router).mount('#app')
